-- GENERATED SPELL FOR [Gordok Brute] --


function spell0_11441(pUnit, Event) --@Backhand,n/a--
pUnit:FullCastSpellOnTarget(6253,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11441', 2271, 1)
end

function spell1_11441(pUnit, Event) --@Bruising Blow,n/a--
pUnit:FullCastSpellOnTarget(22572,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11441', 5350, 1)
end

function spell2_11441(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(15716,pUnit)
pUnit:RegisterEvent('Sorts_11441', 589, 1)
end

function spell3_11441(pUnit, Event) --@Pummel,n/a--
pUnit:FullCastSpellOnTarget(15615,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11441', 5288, 1)
end

function spell4_11441(pUnit, Event) --@Uppercut,n/a--
pUnit:FullCastSpellOnTarget(18072,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11441', 633, 1)
end

function Sorts_11441(pUnit, Event)
local choix_sorts_11441 = math.random(0, 4)
if choix_sorts_11441 == 0 then
pUnit:RegisterEvent('spell0_11441', 1, 1)
end
if choix_sorts_11441 == 1 then
pUnit:RegisterEvent('spell1_11441', 1, 1)
end
if choix_sorts_11441 == 2 then
pUnit:RegisterEvent('spell2_11441', 1, 1)
end
if choix_sorts_11441 == 3 then
pUnit:RegisterEvent('spell3_11441', 1, 1)
end
if choix_sorts_11441 == 4 then
pUnit:RegisterEvent('spell4_11441', 1, 1)
end
end

function mob11441_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11441', math.random(1500, 3000), 1)
end

function mob11441_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11441_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11441_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11441, 1, 'mob11441_Action')
RegisterUnitEvent(11441, 2, 'mob11441_Leave')
RegisterUnitEvent(11441, 3, 'mob11441_Kill')
RegisterUnitEvent(11441, 4, 'mob11441_Die')
